Hacker GitHub

← All repos

tinspin/rupy

View on GitHub ↗ ★ 149 Java

HTTP App. Server and JSON DB - Shared Parallel (Atomic) & Distributed

74 mentions on Hacker News by 4 people: 0 stories, 74 comments · first 2015-12-23 · latest 2025-08-22

Mentions per year 74 mentions · busiest year 2021 (15)
20082026
  1. …it. I will however compare Javas NIO (epoll) with the new Virtual Threads IO (without pinning). http://github.com/tinspin/rupy
  2. I built the cluster thick instead: https://github.com/tinspin/rupy And selfhost on home fiber. Saves space and cools silently. Mixing old 2 and 4 for different use cases. Raspberry 5 and 3588 are too hot. Not in the picture Mean Well 50W…
  3. …to ready) turnaround of ~1-2 seconds on live (just enough time to switch to your client/browser): http://github.com/tinspin/rupy It also allows for session persistence, so you can test the dev/bug feature without logging in again. And yes…
  4. Did you look at http://github.com/tinspin/rupy ?
    comment by bullen · 2023-06-17 · in Full Time
  5. …like in practice. Nobody has a clue. Here is the ideal event driven system, it's async-to-async: https://github.com/tinspin/rupy/wiki/Fuse The example is not working because I had to shut down the services for multiple reasons, but the…
  6. Packaging should always just be zip. Security can just be a OTP: https://github.com/tinspin/rupy/blob/master/src/se/rupy/http...
  7. …The simplest way to get that working is Java + NIO with concurrent package, I have done it for you: http://github.com/tinspin/rupy My web server outperforms everything on the planet for multiplayer. Websockets are notoriously hard to…
    comment by bullen · 2023-05-16 · in Server-sent events
  8. …about better if they think about this more as a process and not some technological solution: https://github.com/tinspin/rupy/wiki/Process All input I have is you want your code to run on many machines, in fact you want it to run the same…
    comment by bullen · 2023-01-03 · in Modules, not microservices
  9. I have one in Java: https://github.com/tinspin/rupy (Which is better for a server, Java does not crash and it can do atomic shared parallelism between cores with OO code something you would need to use arrays to achieve in C/C++ without VM…
  10. The smallest PaaS you have ever seen is one order of magnitude larger than mine: https://github.com/tinspin/rupy And I bet you the same goes for performance, mine can share data between cores atomically.
    comment by bullen · 2022-05-14 · in Dokku – Free Heroku Alternative
  11. …1TB SanDisk (Raspberry 2) and 4GB Panasonic SLC (Raspberry 4) in my distributed database cluster: http://github.com/tinspin/rupy In my experience industrial versions of mainstream cards are less reliable! I agree, you have to measure…
  12. …with integrated distributed JSON database to replace all serverside software I was depending on: http://github.com/tinspin/rupy If you want to be able to run production servers on Raspberry 2 & 4 this is today your only real alternative.…
    comment by bullen · 2022-02-23 · in Frugal Computing (2021)
  13. …and GC, but that model is still to this day the one C++ uses), you can read more about this here: https://github.com/tinspin/rupy/wiki These keep the internal latency of the server below maybe 100 microseconds at saturation, which no C++…
  14. I would look at my own app-server: https://github.com/tinspin/rupy It's not the most well documented but it's the smallest implementation while still being one of the most performant so you can learn more than just SSE.
  15. Absolutely not, HTTP/1.1 is the way to make SSE fly: https://github.com/tinspin/rupy/wiki/Comet-Stream Old page, search for "event-stream"... Comet-stream is a collection of techniques of which SSE is one. My experience is that SSE goes…
  16. …I chose Query.java as the class name for my combined GET/POST container back in 2008: https://github.com/tinspin/rupy/blob/master/src/se/rupy/http... Back then it was hosted on google code.
    comment by bullen · 2022-01-31 · in Upcoming new HTTP QUERY method
  17. https://github.com/tinspin/rupy
  18. …bottleneck which is CPU concurrent atomic parallelism, and for that you basically need to use Java: https://github.com/tinspin/rupy/wiki (Most people disagree but the VM + GC and Javas memory model allows for atomic shared memory like none…
    comment by bullen · 2022-01-11 · in The WebSocket Handbook
  19. …It goes through all firewalls and scales better than most single threaded websocket servers: https://github.com/tinspin/rupy/wiki/Comet-Stream
    comment by bullen · 2022-01-11 · in The WebSocket Handbook
  20. …in one go, if you wireshark it you'll see multiple HTTP chunks...) The source is also here: https://github.com/tinspin/rupy in Root.java
    comment by bullen · 2022-01-07 · in Paxos
  21. …it takes 300 lines of code and you have the best container in the world, see my Archive class: https://github.com/tinspin/rupy/blob/master/src/se/rupy/http... What does SQLAlchemy have to do with containers?
  22. …the most scalable (and energy efficient) backend in the world, yet very few seem to care or use it: https://github.com/tinspin/rupy It has been proven on a real project with 5 years uptime and 350.000 users:…
  23. To build a simple but performant HTTP/1.1 web server is not that hard: https://github.com/tinspin/rupy As long as you only implement the good features!
    comment by bullen · 2021-09-29 · in Gemini: The Misaligned Incentives
  24. …with C/C++, I don't know why; but if you read the quotes you'll see others try to explain it: https://github.com/tinspin/rupy/wiki The VM is good for more things than concurrency, like no seg. fault crashes, which is very good to have on a…
  25. …practice I'm baffled by how well Java performs, you can find three quotes that I managed find here: https://github.com/tinspin/rupy/wiki Finally getting threads to cooporate on things is hard and you cannot debug it with any tools, instead…
  26. …need to understand things as close to the metal as possible to make it work as good as it can work: http://github.com/tinspin/rupy To not use async. is really bad, you are wasting so much CPU. Even in a async. scenario just copying memory…
  27. …in about an hour. Yup, I learned everything I need to know about this project in 5 minutes: https://github.com/tinspin/rupy/blob/7d7972932101b0bbe473a4f... I hope you're successful in your Minecraft replacement, as I've enjoyed playing…
    comment by mdaniel · 2021-07-05 · in Cloud-Native Database Systems (2021)
  28. …to learn everything in about an hour. But here is the only documentation I have written so far: https://github.com/tinspin/rupy/wiki/Storage To see it in action with source: http://fuse.rupy.se (multiplayer system prooven with 350.000…
    comment by bullen · 2021-07-05 · in Cloud-Native Database Systems (2021)
  29. I made my own HTTP app. server and distributed JSON database: https://github.com/tinspin/rupy On top of this I have made many projects and I still use all of them today even 10 years later, some favourite: http://fuse.rupy.se (multiplayer…
  30. In 7000 lines I add multi-threading, non-blocking IO, dynamic responses, chunking and hot-deployment: https://github.com/tinspin/rupy Used in a product by 300.000 end-customers at 90% approval rating without rebooting for 4 years.
    comment by bullen · 2021-04-02 · in An HTTP server in a single .c file
  31. …for Mime in my app. server, then I realized Mime is pretty simple and replaced it with this file: https://github.com/tinspin/rupy/blob/master/mime.txt
  32. …and client: My Java HTTP server hot-deploys a .jar containing new code with a simple classloader: https://github.com/tinspin/rupy My C+ 3D MMO engine uses .dll/.so hot-reloading so that the game code can change while the engine is running,…
  33. …The first file I opened says "non-blocking and asynchronous" in the first line of the comment. https://github.com/tinspin/rupy/blob/master/src/se/rupy/http... Your methods that are supposedly doing this use the synchronize keyword whose…
  34. …model VM with GC. I can't explain it, just claim that my code works and performs accordingly: https://github.com/tinspin/rupy
    comment by bullen · 2021-03-11 · in Why asynchronous Rust doesn't work
  35. …that my app. server kicks everythings ass to the stone age in terms of performance and ease of use: https://github.com/tinspin/rupy It's facinating to see humans struggle with the wrong tools, and defending those same tools without even…
    comment by bullen · 2021-03-10 · in Why asynchronous Rust doesn't work
  36. …people to use JavaSE on the server and hot-deploy to the servers directly with async. non-blocking: http://github.com/tinspin/rupy 2) For clientside: mostly C syntax (compiled with C++ compiler) is your best option and I recently made a…
    comment by bullen · 2021-01-16 · in Maximizing Developer Effectiveness
  37. I made a completely async. HTTP app. server and then added a distibuted async. JSON database on top: https://github.com/tinspin/rupy The problem with async. is that once you add one thing as async., you need to change everything to be…
  38. …Google lawsuit is over. I cannot explain the performance I'm getting yet but I'm working on that: https://github.com/tinspin/rupy/wiki (Under "Why Rupy is using Java")
  39. …clusters of 4 (2GB) & 2 (the older version) on 32-bit so I can run my PaaS at record flops/W/$: https://github.com/tinspin/rupy
  40. Ok, I'll bite. What are "all the limitations" of the Servlet spec? Let's start with this: https://github.com/tinspin/rupy/blob/master/src/se/rupy/http... How is the abstract class of yours less limited?
    comment by eternalban · 2020-09-22 · in A Picture of Java in 2020
  41. …your projects; I made a app server and distributed database that fits in a 166KB .jar unobfuscated: https://github.com/tinspin/rupy
    comment by bullen · 2020-09-22 · in A Picture of Java in 2020
  42. …of a cluster like this you can look at my distributed HTTP app. server + JSON database solution: https://github.com/tinspin/rupy It's actually usable for live services on RPi 2 and on RPi 4 it beats Intel on float ops./joules at 100%…
  43. …in all practical senses gone). It's simpler, consistent and scales like a monster on the server: https://github.com/tinspin/rupy/wiki/Comet-Stream The only thing that is annoying in the browser is that Chrome does not allow you to remove…
    comment by bullen · 2020-06-28 · in WebTransport API
  44. I have been de-googling (youtube) video streaming with my app server lately: http://github.com/tinspin/rupy The last google dependency I now have (SMTP) will be added to rupy once I finish my MMO!
    comment by bullen · 2020-06-05 · in Help Us DeGoogle FOSS
  45. …opportunity to discuss what I learned building a joint (on the same memory) parallel app. server: http://github.com/tinspin/rupy To fully use concurrency without monitors I think we need to accept the cost of cache misses. When Java…
    comment by bullen · 2020-02-21 · in The Problem with Threads (2006) [pdf]
  46. …own HTTP app server with integrated distributed JSON database and self host on a raspberry cluster: https://github.com/tinspin/rupy
  47. …you want to do joint (on the same memory) parallel HTTP with Java I have a stable solution for you: https://github.com/tinspin/rupy
    comment by bullen · 2019-11-07 · in Async-await on stable Rust
  48. I use ext4 with my distributed async-to-async JSON database: https://github.com/tinspin/rupy/wiki/Storage You can try it here: http://root.rupy.se The actual syncing is done over HTTP with Java though so maybe that's why it works well for…
  49. I added the same feature to my Java app server: http://github.com/tinspin/rupy it's a simpler design which compiles, zips and hotdeploys over HTTP to a classloader. But it's fast enough as long as you keep each project small.
    comment by bullen · 2019-07-11 · in How Dark Deploys Code in 50ms
  50. …look at my tiny web-server for the simplest hot-deployment implementation I have made/found so far: https://github.com/tinspin/rupy/blob/master/src/se/rupy/http...
    comment by bullen · 2019-06-09 · in OSGi After 20 Years