Recent submissions

Comment · 5 months ago
Comment · 7 months ago
Comment · 8 months ago
Comment · 8 months ago
Comment · 11 months ago
Comment · 2 years ago
Comment · 4 years ago
Awesome! Could you please elaborate how to do it or post some good/not outdated links?
Comment · 5 years ago
Really cool, but please work a bit on controls for smartphones. Holding a button pops up a browser's menu.
Comment · 6 years ago
> This leaves higher application code to handle duplicated messages.

True, better send twice than never.

> the client connects later than the server send

Server only responds, never sends anything.

> overwhelming the network

"broker" is handling it nicely

I strongly agree that zmq will not fit in every use case. Always search for best option.

Comment · 6 years ago
We implemented KISS state machine based on TCP timeouts and server response.

Pseudocode:

  Send msg to server
    if socket timeout:
      reinit socket and send again
  Recv from server
   if recv.msg != 'ok':
     send again
   else
     remove msg from storage


One message has from few to few hundreds Kilobytes. Messages are stored and sent as custom binary data for better compression (better that protobuffs). ZMQ takes complexity of raw tcp sockets away and this is what we needed it for. As much and as little.
Comment · 6 years ago
We are using 0mq for monitoring of electric vehicles fleet. Millions of messages every day (hundreds of GB), zero problems with bad internet connection (common in moving vehicles). Every sent message is received regardless of connectivity issues. Just a little implementation annoyances here and there but it is serving us well since 2015.
Comment · 8 years ago
Comment · 9 years ago
We are using this for addon synchronization in our community through Arma3Sync. On server side we need to "build" repository - it just generates .zsync files, then clients are downloading just diff. Update size came down from 10-15GB to <3GB.
Comment · 9 years ago
Really nice tutorial is being made here: https://simpleisbetterthancomplex.com/series/beginners-guide...

Author uses recent version of Python and Django and is building with You something useful.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton