Submit

Back to the channels

#java

  1. cheeser ~wb
  2. javabot Thank you, cheeser.
  3. dreamreal ooo any changes?
  4. dreamreal I'm fixing search in nevet now :D
  5. dreamreal damn stemming was unexpected
  6. dreamreal (I was passing through sanitized queries to postgres, and it stemmed when it should have but when I wasn't expecting it)
  7. cheeser nah. just VPS maintenance requiring a reboot.
  8. cheeser i have a shit ton of changes on a branch that I need to merge. it's mostly UI/quarkus related but various lib upgrades here and there.
  9. dreamreal *nod* Are you still on the same VPS provider?
  10. cheeser once i'm done with this morphia work, i'm going to go over the bot with claude and get some drastic clean up done. too many experiments, some unfinished, still lingering.
  11. cheeser yeah. same one.
  12. dreamreal *nod* I moved to a new provider and I'm on a dedicated server - the VPS we were using (I was on the same service javabot's on) overallocates like MAD, although that might depend on region
  13. dreamreal like, I was seeing 27 minute build times drop to 28s on the dedicated server: I expected SOME of that but not that much
  14. dreamreal a 60x loss of performance is ... pretty severe, IMO
  15. dreamreal It also cleared up a shedload of *mysql* errors - like, mysql was struggling on the server even though it had *resource* headroom, thanks to overallocation.
  16. dreamreal Very inexpensive service and worth every penny. :/
  17. cheeser well, it *is* mysql...
  18. dreamreal Well, mysql should be able to handle five wordpress instances on relatively low-traffic sites.
  19. dreamreal The overallocation was just too much, and I couldn't use it to build at all, even runtime... like, the early versions of nevet took five or six minutes to start
  20. dreamreal That probably helped prevent litharge from wantiung to ban it due to join spam, but...
  21. dreamreal sorry, nevet was getting some inferred property updates
  22. Chronos The lobste.rs website recently moved to SQLite and was able to cut their VPS requirements in more than half.
  23. dreamreal What the heck were they using before
  24. dreamreal and for WHAT
  25. Chronos I think it was either MariaDB or PostgreSQL, but I forget the details.
  26. dreamreal And they ... what
  27. dreamreal that's crazy. What are they running the site on? That sounds like really bad design or really bad provisioning
  28. Chronos https://lobste.rs/s/oz7ebk/lobste_rs_migrates_from_mariadb_sqlite
  29. nevet lobste.rs migrates from MariaDB to SQLite
  30. javabot Chronos's title: "lobste.rs migrates from MariaDB to SQLite | Lobsters"
  31. Chronos Oops, that article is outdated. They had to revert after their first attempt, but later, they did successfully make the move. They have articles discussing all the details, including their VPS requirements.
  32. * dreamreal boggles
  33. dreamreal this mostly makes me think whoever designed lobste.rs may have done a good thing in design but their awareness of actual architecture done got broke
  34. Chronos Well, the website uses Ruby, so I'd guess that hurts pretty bad, performance-wise, heh.
  35. dreamreal my point stands
  36. Chronos dreamreal: My _guess_ is that it was originally designed using "best practices," which means it was probably extremely overly-complex, etc.
  37. Chronos But that's just a guess. Modern technical people _do_ seem to love their _ridiculously_ overly complex solutions these days.
  38. dreamreal nevet would *die* on sqlite and badly
  39. Chronos dreamreal: What does nevet use? And why would it die on sqlite?
  40. dreamreal postgres, and it's an orchestration engine
  41. dreamreal so lots of threaded access
  42. dreamreal (plus it uses postgres for some specific features: sqlite is slowly getting some of them but not others)
  43. dreamreal I could replace db search, I think, but the multithreaded db access is still a deathknell
  44. Chronos I think, though I'm not sure, lobste.rs is read-mostly and write-rarely.
  45. Chronos Where "write-rarely" is quite subjective, of course, heh. But I feel like I remember them saying something like that it does 3 writes per second on average?
  46. Chronos Don't trust my memory. I'm old. ;)
  47. dreamreal I mean, that's a good situation for sqlite, sure
  48. dreamreal but it's still gross, and seeing a massive jump in provisioning capability by GOING TO SQLITE says horrible things about your ability to database
  49. Chronos I believe it :)
  50. dreamreal even with ruby you shoudln't see that kind of delta
  51. Chronos Building any substantial project on Ruby makes me question the technical people behind it, heh
  52. dreamreal Hey, ruby is great for projects that look like they are ruby-shaped. It's just that not as many projects are ruby-shaped as people want to think.
  53. Para I miss the *-on-Rails era.
  54. Para Now we're just mostly off the rails.
  55. whaley this is the second time I've seen sqllite referenced for something that's bearing some non-trivial load. It's like the dead rising from the grave. Human Sacrifice! Dogs and Cats living together! Mass Hysteria!
  56. whaley next you are going to tell me it's ok to use Redis directly as a persistent data store
  57. dreamreal I can't see myself doing that at all.
  58. Para "I made this really neat programmable cache called Redis!" "Cool, I'm going to cluster it and store unicode data into it as well."
  59. julemand101 Para: Time to make a FUSE driver on Linux so we can mount our new Redis storage and run our servers from it
  60. Para julemand101: https://www.youtube.com/watch?v=cTPBGZcTRqo
  61. nevet YouTube: I Wrote A Filesystem to Beat Factorio. | DocJade
  62. dreamreal ... can we run DOOM in redis
  63. julemand101 Para: Can also recommend: https://www.youtube.com/watch?v=JcJSW7Rprio
  64. nevet YouTube: Harder Drive: Hard drives we didn't want or need | suckerpinch
  65. Para (spoiler: DocJade learned Rust and made a custom FUSE filesystem to run Factorio from diskettes)
  66. Para What even are the the DOOM primitives.
  67. * Chronos throws any article with the word "Rust" in it in the bit bucket.
  68. Para Oh but it's Factorio so it's way way way better.
  69. Para The factory must grow.
  70. Tenchi are we talking about Rust the video game or Rust the programming language ?
  71. Para The better Rust. Which is the programming language.
  72. whaley the lifetime of this conversation needs to go out of scope
  73. dreamreal That's unsafe.
  74. sbalmos don't go into a panic. it's just a trait of his personality

Search posts