Skip to content
This repository was archived by the owner on Mar 24, 2026. It is now read-only.

Update facil.io version and add docker file#3359

Closed
boazsegev wants to merge 1 commit intoTechEmpower:masterfrom
boazsegev:master
Closed

Update facil.io version and add docker file#3359
boazsegev wants to merge 1 commit intoTechEmpower:masterfrom
boazsegev:master

Conversation

@boazsegev
Copy link
Copy Markdown
Contributor

The main relevant difference in the updated facil.io version is the memory allocator (I wrote a custom memory allocator that should minimize lock contention).

It's possible to test the new version without the multi-threaded memory allocator by using:

export CFLAGS="${CFLAGS} -DFIO_FORCE_MALLOC"

I also added a dockerfile, as I understand that this is where things are headed...

...however, I didn’t know how to test the dockerfile. Any guidance would be appreciated (I especially wonder about the use of ENV CC).

The main relevant difference in the updated facil.io version is the
memory allocator (I wrote a custom memory allocator that should
minimize lock contention).

I also added a dockerfile, as I understand that this is where things
are headed. However, I didn’t know how to test the dockerfile… any
guidance would be appreciated (I especially wonder about the use of
`ENV CC`).
@NateBrady23
Copy link
Copy Markdown
Member

@boazsegev You'll want to look at the docker branch. As a matter of fact, since all the C frameworks have already been moved to docker, if you could do this update there it would be more helpful.

The next round will come from the changes on that branch. Testing is done the same way, tfb --mode verify --test facil.io

The dockerfile is the name of the test, you'll notice that in that branch. So I'm going to close this here and please re-open to target the docker branch. If you're having trouble just ping me in a new PR and I can help you from there!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants