I am building a User Service. User would be able to register with emailId or phone no. Upon successful registration, they can choose a username (which should be u..
Tag : database-design
Hello Stack Overflow comm..
I am working on a project. I have designed the codebase all the way from the scratch. Basic thing is the project is divided in individual modules. The modules represent one complete part of a business process. For example, AnalyticsModule
deals with the analytics stuff of the project, PlatformModule
deals with the other processing done on the plat..
Let’s say I have 100 million users in the database, and each of them have a reward point associated with it. This reward point is eventually consistent. And we need to rank the users based on this reward point. Now, I know how to find top N users who are having most reward points. Basically, we may have a separate datastore to store top N users at any given point. I can use a heap to keep track of top N at any given point and flush it to the DB. But, what if I need to find the rank of a random user (also users who are adjacently ranked to the given user) from 100 million users? We can’t put all 100 million users into memory for sorting. So, how do we achiev..
Closed 5 hours ago
I am trying to make a crypto analysis app. I fetch data from multiple platforms such as dexscreener, dextools, etc. The problem I run into is with poor code design/repetition and whenever I have to add new features or make changes, I have to make a lot of effort for refact..
I still have trouble naming the intermediate t..
The following code(JSFiddle here) is a grid-based code where I’m performing the following ..
The following code(JSFiddle here) is a grid-based code where I’m performing the following ..
I’m working on an application that requires many 3rd-party integrations. I’m using Postgres to store these API responses but am having trouble for a number of re..