webee 最近的时间轴更新
test
2014-09-08 16:37:29 +08:00
webee's repos on GitHub
Go · 8 人关注
PatentFetcher
中国专利公告爬虫后端,分配任务和收集结果
JavaScript · 2 人关注
get-started-it
❤️ 一个简洁、优雅且高效的 Hugo 主题 A clean, elegant but advanced blog theme for Hugo
Java · 2 人关注
promise4j
promise for java.
1 人关注
JSONViewer
format several JSON documents in one window, depends to your screen width, up to 6.
Python · 1 人关注
pay
pay system.
Java · 0 人关注
android-chat-ui
Android Chat UI library.
Python · 0 人关注
apistar
A smart Web API framework, designed for Python 3. 🌟
Java · 0 人关注
AppRTCDemo
Android AppRTC Demo of WebRTC project
0 人关注
autotester
Chrome extension that allows to develop and run automation tests right in browser
0 人关注
awesome
😎 Awesome lists about all kinds of interesting topics
0 人关注
awesome-AI-books
Some awesome AI related books and pdfs for learning
Ruby · 0 人关注
awesome-react-native
An "awesome" type curated list of React Native components, news, tools, and learning material
0 人关注
bash
a bunch of bash helper functions
HTML · 0 人关注
book-warehouse
My Book
0 人关注
books
【编程随想】收藏的电子书清单(多个学科,含下载链接)
Python · 0 人关注
boom
A replacement for AB (Apache Bench)
0 人关注
bromite
Bromite a Chromium fork with ad blocking and privacy enhancements; take back your browser!
0 人关注
browser-fingerprinting
Analysis of Bot Protection systems with available countermeasures 🚿. How to defeat anti-bot system 👻 and get around browser fingerprinting scripts 🕵️‍♂️ when scraping the web?
0 人关注
C4-PlantUML
C4-PlantUML combines the benefits of PlantUML and the C4 model for providing a simple way of describing and communicate software architectures
0 人关注
caddy-based-magento
A docker-composed based platform for running Magento 2 with Caddy server V2.
0 人关注
calculus
0 人关注
camoufox
🦊 Anti-detect browser
0 人关注
CanvasBlocker
A Firefox extension to protect from being fingerprinted.
0 人关注
Cloudflare-CNAME-Setup
Cloudflare Partner Panel
PHP · 0 人关注
composer-merge-plugin
Merge one or more additional composer.json files at Composer runtime
0 人关注
configsync
A module to store Magento configuration with multiple environments in the version control
0 人关注
cookie-quick-manager
An addon to manage (view, search, create, edit, remove, backup, restore) cookies on Firefox.
C · 0 人关注
coturn
coturn TURN server project
Python · 0 人关注
customer-service-api
customer service api site.
JavaScript · 0 人关注
customer-service-web
customer service web site.
0 人关注
docker
Dockerfile · 0 人关注
docker-alpine
golang server定制apine
Dockerfile · 0 人关注
docker-debian-dev
docker debian for dev.
Dockerfile · 0 人关注
docker-es
elasticsearch configured for chinese.
JavaScript · 0 人关注
dva
🌱 React and redux based, lightweight and elm-style framework. (Inspired by elm and choo)
Go · 0 人关注
dynamic-proxy-chain
Go · 0 人关注
echo-swagger
echo middleware to automatically generate RESTful API documentation with Swagger 2.0.
0 人关注
emacs.ahk
An autohotkey script that allows you to use emacs-like key bindings on Windows environment
Java · 0 人关注
fastjson-json-api-android
java-json-api wrapper for fastjson-android.
0 人关注
fingerprinting-monitor
A fingerprinting monitor for Chrome.
C · 0 人关注
fio_ssd
ext fio test tool for ssd.
0 人关注
firefox-container-proxy
[Firefox extension] Assign a proxy to a Firefox container
0 人关注
firefox-profile-js
Firefox Profile creation using nodejs and CLI
Go · 0 人关注
FishChatServer2
FishChatServer2 - QQ群274828795
Python · 0 人关注
flask-jwt
JWT (JSON Web Tokens) for Flask applications
Python · 0 人关注
flask-script-extras
extra commands to flask script.
0 人关注
GeoLite.mmdb
MaxMind's GeoIP2 GeoLite2 Country, City, and ASN databases
SCSS · 0 人关注
get-out.me
my site powered by hugo.
0 人关注
getting-started-with-cdp
Getting Started With Chrome DevTools Protocol
Go · 0 人关注
go-socks5
SOCKS5 server in Golang
Go · 0 人关注
goim
goim
Go · 0 人关注
gomacro
Interactive Go interpreter and debugger with REPL, Eval, generics and Lisp-like macros
Python · 0 人关注
gpxpy
gpx-py is a python GPX parser. GPX (GPS eXchange Format) is a XML based file format for GPS track logs.
0 人关注
gtm-graphql
GTM frontend extension and GraphQL support for ScandiPWA
TypeScript · 0 人关注
http-proxy-middleware
:zap: The one-liner node.js http-proxy middleware for connect, express and browser-sync
JavaScript · 0 人关注
incubator-superset
Apache Superset (incubating) is a modern, enterprise-ready business intelligence web application
0 人关注
InstallScript
Odoo install script
Java · 0 人关注
java-json-api
An open java json api.
Objective-C · 0 人关注
libextobjc
A Cocoa library to extend the Objective-C programming language.
Python · 0 人关注
LSHash
A fast Python implementation of locality sensitive hashing.
0 人关注
mageconfigsync
🔧 A utility to aid the storing of Magento configuration in version control
0 人关注
magento-2-webhook
Mageplaza Webhook for Magento 2 supports online store to send an API request via a webhook to a configurable destination (URL) when specific trigger events take place. Webhook a very useful and necessary tool which allows stores to update instant and real-time notifications.
0 人关注
magento2-connector-community
Akeneo Connector for Magento 2
Go · 0 人关注
mangos
mangos-v2 is version 2 of an implementation in pure Go of the SP ("Scalable Protocols") protocols
Python · 0 人关注
Minesweeper
auto minesweeper.
0 人关注
moveTo
A lightweight scroll animation javascript library without any dependency
Java · 0 人关注
msg-codec
message and codec interface.
0 人关注
multilogin
This is a fork of multilogin extension for chrome without ADS and other junk
Lua · 0 人关注
mylua
simple lua interactive interpreter.
Python · 0 人关注
nanomsg-python
nanomsg wrapper for python with multiple backends (CPython and ctypes) should support 2/3 and Pypy
0 人关注
navicat-keygen
Go · 0 人关注
nexus
Full-feature WAMP v2 router and client written in Go
C · 0 人关注
nng
nanomsg-next-generation -- light-weight brokerless messaging
JavaScript · 0 人关注
node-cache-manager-fs-binary
Node Cache Manager store for filesystem with faster binary data stored as separate files
0 人关注
node-cache-manager-redis-store
Redis store for node-cache-manager using node_redis.
0 人关注
node-http-proxy
A full-featured http proxy for node.js
0 人关注
node-Tor
Javascript implementation of the Tor (or Tor like) anonymizer project (The Onion Router)
Objective-C · 0 人关注
NSDictionary-NilSafe
How we made NSDictionary nil safe at Glow
0 人关注
odooDingTalk
Odoo系统集成钉钉
0 人关注
onion-browser-button
Requisite files to run onion browser button add-on
HTML · 0 人关注
patchwork
All the Git-it Workshop completers!
0 人关注
paypal-fe
This module extends Magento 2 PayPal Front-end
0 人关注
paypal-graphql
This module extends Magento 2 PayPal GraphQl definitions.
0 人关注
pending-xhr-puppeteer
Small tool to wait that all xhr are finished in puppeteer
PHP · 0 人关注
persisted-query
Persisted query implementation for M2
0 人关注
pim-community-dev
[Community Development Repository] The open source Product Information Management (PIM)
Python · 0 人关注
pip
The PyPA recommended tool for installing Python packages
0 人关注
playwright
Node.js library to automate Chromium, Firefox and WebKit with a single API
JavaScript · 0 人关注
pptr-web
puppeteer for web browsers.
Java · 0 人关注
promise-android
promise for android base on promise4j.
Java · 0 人关注
promise-rxjava
add interoperability between promise4j and rxjava.
TypeScript · 0 人关注
puppeteer
Headless Chrome Node.js API
0 人关注
puppeteer-web
🔥🔥 puppeteer-web bundle created using browserify 🔥🔥
0 人关注
pycasbin
An authorization library that supports access control models like ACL, RBAC, ABAC in Python
Python · 0 人关注
python-packaging-demo
demo python packaging.
0 人关注
python-patterns
A collection of design patterns/idioms in Python
Python · 0 人关注
pytoolbox
python toolbox.
0 人关注
query_deluxe
0 人关注
queue
Asynchronous Job Queue
PHP · 0 人关注
quote-graphql
Quote GraphQL endpoints
webee

webee

V2EX 第 27033 号会员,加入于 2012-09-21 19:38:08 +08:00
1 G 17 S 37 B
webee 最近回复了
2020-08-19 09:53:37 +08:00
回复了 webee 创建的主题 分享创造 使用 react 写了个网页版数独工具
@nzbin 是挺清新的😂
2020-08-19 09:51:49 +08:00
回复了 webee 创建的主题 分享创造 使用 react 写了个网页版数独工具
@shoa dlx 是 solver 的算法,我这里是简单的回溯,后面会试试 DLX 。分步解法是实现的大家总结的一些逻辑推理技巧。其实学数独的时候会学习这些技巧,这个工具可以帮助学习和理解技巧。我写到一半发现其实挺多这样的工具的,我就尽量把技巧展现的更好理解。
2020-08-19 09:17:51 +08:00
回复了 webee 创建的主题 分享创造 使用 react 写了个网页版数独工具
@mara1 这个是个工具,并没有数独生成器。主要是辅助或学习使用各种技巧解数独,后面考虑加上。
2019-08-17 23:50:45 +08:00
回复了 iamdaguduizhang 创建的主题 问与答 三门问题
3 楼计算是正确的。
也可以换的方式思考:
P(不换选中概率)=P(3 选 1 选中概率)=1/3

由于主持人在剩余 2 个中排除掉一个
P(换选中概率)=P(3 选 2 选中概率)*P(1 选 1 选中概率)=2/3*1=2/3

推广到 n 个则是:
P(不换选中概率)=1/n
P(换选中概率)=(n-1)/n*1/(n-2)=(n-1)/n/(n-2)

n>=3 时,P(换选中概率)>P(不换选中概率)
2019-07-05 13:42:55 +08:00
回复了 springmarker 创建的主题 程序员 在微服务中是用队列好还是 RPC 好
@springmarker 就拿发一个 mq 消息到接收,这其中至少用到两次 rpc 调用( 4 次消息传递)了吧。再加上回复,一共四次 rpc 调用( 8 次消息传递)了吧。
你要的负载均衡是以增加至少 3 次 rpc 为代价换取的。

你据说的这种主动式负载均衡确实需要一个协调器的角色,在这里你使用了消息队列。但是在现存的任务负载均衡中也可以容易实现啊,只要增加 server 端和负载均衡的主动通信就可以了。

另外,服务器认为自己空闲,不代表它处理得就更快,也就不一定能降低平均延迟。
在现实情况下,主动式负载均衡除了增加系统交互复杂度,好像不比其他的负载均衡策略更好。
2019-07-05 13:01:12 +08:00
回复了 springmarker 创建的主题 程序员 在微服务中是用队列好还是 RPC 好
看来楼主没明白一个问题,没有最好的技术,只有适合的技术,一切对比都是要有基准的。如果你觉得这么做在你的项目中合适且满足需求,那我觉得就没问题,至于是不是比其他人的方案更好就不一定了,这都取决于自己的认知水平。
2019-07-05 12:41:37 +08:00
回复了 springmarker 创建的主题 程序员 在微服务中是用队列好还是 RPC 好
@springmarker 你据说的 100%成功不是对所有消息都有意义,消息也是有时效性的,过了时间就没有意义了,因此才有超时的概念,所以 rpc 请求堆积然后处理不即时丢失很正常啊。
2019-07-05 12:33:03 +08:00
回复了 springmarker 创建的主题 程序员 在微服务中是用队列好还是 RPC 好
@springmarker 消息队列和 rpc 是两种不同的通信模式,消息队列是 publish/subscribe 模式,rpc 是 request/reply 模式,我们不说同步、异步的问题,很明显消息队列是单向通信,rpc 是双向通信,所以只要有单身通信能力就可以实现队列,有双向通信能力就可以实现 rpc,因此当然你搞两个消息队列就可以实现 rpc 是没有问题的。但是所有功能实现都是有其目的和衡量指标的,就 rpc 来说,主要目的是实现计算的扩展,把本地方法调用扩展到远程、分布式方法调用,计算需要逻辑(必要使用同步保证)和速度,因此 rpc 有两个指标:响应时间(延迟)和吞吐率( client 端和 server 端),且响应时间是更重要的,毕竟吞吐率是很容易通过扩展提升的。你的想法就是在直连 rpc 的中间加上一个队列,把 brokerless 的 rpc 变成了 brokered。在 client 端和 server 端条件不变的情况下,可能增加了 client 端的吞吐率(为什么是可能,因为 rpc 的 server 端也是有缓冲队列的啊),server 端吞吐率就算不变吧(不可能变得更好),整体响应时间肯定变长了,所以这个改变有什么意义呢?要实现你所说的优点完全可以在 client 端和 server 端做改进,没必要添加中间层啊?
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   996 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 25ms · UTC 18:35 · PVG 02:35 · LAX 10:35 · JFK 13:35
♥ Do have faith in what you're doing.