News for hackers. Stuff that matters.
Re:How not to structure database-backed web apps: performanc... by sut-123 on Wednesday July 04, 2018 @04:12PM (#17459232)
Your example sounds interesting, could you explain more
Re:How not to structure database-backed web apps: performanc... by soberhoff on Friday July 13, 2018 @09:15AM (#17522642)
Are you familiar with Java? If you use just `"foo"`, then the string will be interned and reused. If you use `new String("foo")`, each call creates a new copy on the heap. This call was inside a very hot loop, thus eating almost all the application's runtime.
Re:How not to structure database-backed web apps: performanc... by sut-123 on Saturday July 14, 2018 @06:20PM (#17532704)
Thanks a lot for your explanation.