Skip to content

OtabekEshpulatov/mock-data-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Mock-Data-Generator

This is a fake data generator which supports SQL, JSON and CSV file
formats to generate fake information upto millions of rows per request

Features

  • Fast
  • Supports JSON, SQL and CSV formats
  • Lighweight

You can watch out this video about the program efficiency

Inner Working

Here is where I’m going to write about the inner workings of my program. Before all,
I want to mention that there is Java Fork/Join Framework at the heart of the program
to balance the workload between all processors by dividing a task into small subtasks.

To use the program, user should define how many rows of data he/she wants after selecting
file format. And then the user need to choose field types and give names to them like “AGE userage”,
“NAME username” and etc. After collectiong neccessary data, as I mentioned before, the task is divided
into small subtasks like “Divide and conquer” paradigm. Here is what I mean:

           if(problemSize < threshold)
              solve problem directly
           else
           {
              break problem into subproblems
              recursively solve each subproblem
              combine the results
           }
           
           // The main idea behind this is to maximumly utilize the processor powers
           // in which all idle threads steal the work of busy threads by running parallel

And at the end you get the result in your hands

And of course my application itself is open source with a public repository
on GitHub.

Bot version

As a developer, I need data to feed my code to check whether it’s functioning properly or not.
So that, I created telegram bot version of it where you can go and use it for free. Here I’m leaving
the link to the bot. Before going any further, you’re better to know how the
bot actually works.

All orders are collected in the form of query. So you need to grasp a little bit about querying.

Guide to the bot

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published