Skip to content

Week-2 pull request#40

Open
Hungerarray wants to merge 21 commits intoitsnporg:mainfrom
Hungerarray:main
Open

Week-2 pull request#40
Hungerarray wants to merge 21 commits intoitsnporg:mainfrom
Hungerarray:main

Conversation

@Hungerarray
Copy link
Copy Markdown
Contributor

DiscordName : LuckyTiger32

setup skeletal structure for week2 challenge
added url parser using regex to find host name, scheme, and path of the
url request
the required dependencies are no longer shipped with code, the
instructions for setting up necessay dependencies will be added later to
README.md
added functionality to create request headers
the code now will connect to http requests and do so asynchronously
was using shared_ptr to store the data, but since I didn't copy the data
into handle lambda the pointer was getting destroyed as soon as it's
scope ended ... leading to bad_alloc message
synchronous https request has been added, also restructured the
webrequests to maintain proper interface seperation
everything has been setup and is ready for initiating the challenge
the code now truly works in parallel
linux file descriptors is the current bottleneck, which has to be fixed.
the major issue with current run is connection peer error, which has to
be solved
was creating socket for every http request, don't know why I thought
that to be good, now refactoring to use only few sockets instead.
trail at reimplimenting proper connection
most issue seems to have been fixed
cleaned up many unnecessary code lying around.
currently hits 10,000 requests  20 +- 5 seconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant