
Closed
Posted
Paid on delivery
I’m building a low-level control layer in C, talking to PostgreSQL exclusively through libpq. The goal is to let me steer the database in real time—core by core, megabyte by megabyte, and user by user—without relying on pgAdmin, psql scripts, or any third-party orchestration tool. Functional scope • Core-wise processing: I want to pin heavy jobs to specific CPU cores from the client side, exposing an API call where I pass a core map and the session adjusts `SET max_parallel_workers_per_gather`, `cpu_tuple_cost`, or similar parameters on the fly. • RAM-wise resource allocation: Memory ceilings should be adjustable per connection so I can bump or throttle `work_mem`, `shared_buffers`, or temp file limits dynamically. • User-wise messaging queues: Each authenticated user gets an isolated message queue (implemented with NOTIFY/LISTEN or a lightweight queue table) so that background services can publish progress, and consumers can subscribe without polling. Message ordering and at-least-once delivery matter. The workload is transaction-heavy, so every change—parameter tweak, schema hot-patch, or permission flip—has to remain ACID-safe. Your code must wrap each modification in explicit BEGIN/COMMIT blocks and roll back cleanly on failure. Dynamic configuration required • Parameter tuning — expose setter/getter wrappers for the GUCs mentioned above. • Database schema changes — e.g., creating the per-user queue tables on demand. • User permissions — grant, revoke, or alter roles during runtime, again via libpq calls only. Deliverables 1. Clean, well-commented C source (GCC 11+) that compiles on Linux and links solely against libpq. 2. A header exposing the public API (`init_controller()`, `set_core_affinity()`, `set_ram_limit()`, `create_user_queue()` …). 3. SQL helper files, if any, auto-loaded by the C layer. 4. README with build steps, example usage, and a minimal test harness that demonstrates: • changing `work_mem` for one connection while another keeps its original value • pushing a message to a user queue and reading it back in order • running a schema migration inside an explicit transaction and rolling it back on error. Acceptance criteria • No external admin tools invoked—only libpq calls. • All operations are idempotent and survive concurrent sessions. • Code passes the supplied test harness without warnings under `-Wall -Werror`. If this sounds clear and you can deliver tight C code that bends PostgreSQL to my will in real time, let’s get started.
Project ID: 40597229
37 proposals
Remote project
Active 2 days ago
Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
37 freelancers are bidding on average ₹25,776 INR for this job

Hello, I reviewed your requirements carefully and understand that you need a low-level C/libpq control layer for runtime PostgreSQL configuration, transactional schema/role management, and reliable per-user messaging without external administration tools. I would structure this as a thread-safe C library with explicit connection/session ownership, parameterized libpq calls, transaction wrappers with guaranteed rollback paths, and idempotent DDL/role operations protected against concurrent execution. Session-scoped GUCs such as work_mem can be isolated per connection, while settings requiring restart/server-level configuration will be handled according to PostgreSQL’s actual GUC context rather than treated as dynamically session-adjustable. For messaging, I’d combine LISTEN/NOTIFY for low-latency wakeups with a durable queue table for ordered, at-least-once delivery, acknowledgements, and recovery after disconnects. Quick question: For CPU affinity, do you expect the C client process/worker threads themselves to be pinned to cores, or are you expecting individual PostgreSQL backend/parallel worker processes to be OS-level pinned? PostgreSQL GUC tuning alone cannot guarantee backend CPU affinity. I can start ASAP and deliver GCC 11+ code clean under -Wall -Werror, public headers, documentation, and the required test harness. Best Regards
₹25,000 INR in 5 days
6.0
6.0

Hi, I reviewed your project: C libpq Postgres Dynamic Resource Configuration. Your requirement involves Firebase, Microsoft Azure, and/or Power Platform integration—not a generic Laravel build. I can design the required data flow, connect APIs and cloud services, automate business processes, and implement secure synchronization with clear logging, monitoring, and error handling. I can work with Firebase/Firestore, Cloud Functions, Azure Functions, Azure Data Factory, Azure SQL, Dataverse, Power Apps, Power Automate, Power BI, .NET/C#, REST APIs, authentication, and production deployment. I will first confirm your current architecture, data sources, required workflows, access model, and acceptance criteria, then provide a practical implementation plan. Portfolio: https://www.freelancer.com/u/irfanui Regards, Mohammad 4th Dimension Partners
₹37,500 INR in 29 days
5.7
5.7

With over 10 years of experience in software development, specifically in API and database development, I am confident in my ability to meet every single point outlined in this project. Throughout my career, I have consistently demonstrated my proficiency in C Programming and Libpq, even in highly demanding transaction-heavy workloads. The core feature you need - dynamic configuration - is a mainstay; this project is right up my alley. From parameter tuning to schema migration to user permissions, I have it covered. My code is clean, well-commented, and always ACID-safe ensuring airm tight protection to your data. It will survive concurrent sessions maintaining idempotency at all times. To ensure it fits seamlessly into your system, I will develop this low-level control layer on Linux with utmost GCC 11+ compatibility. The deliverables you want such as the public API header and the SQL helper files are right within my capabilities. My detailed READMEs ensure that users can make the most out of the finished product using simple-to-follow steps. Not only do we write code, but we also focus on building long-term relationships with our clients which has been successful so far with many of our clients testifying to a reliable delivery throughout their projects. Let us get started on building a C libpq Postgres Dynamic Resource Configuration that precisely fits your needs and frees you from third party tools-producing efficient and long-lasting results
₹15,000 INR in 5 days
5.1
5.1

As an experienced software engineer with a focus on C programming, I understand the importance of building rock-solid, efficient code that gets the job done. Your project requires a low-level control layer in C that seamlessly interfaces with libpq and PostgreSQL. From working on Odoo ERP implementations to designing and deploying IoT infrastructure, I have honed skills that make me uniquely qualified for this task. The functional scope you've detailed, such as core-wise processing and RAM-wise resource allocation, align precisely with my skill set involving the design and implementation of similar systems. I am well-acquainted with dynamic configuration requirements like parameter tuning and making runtime schema changes in just the ways your project calls for. My experience extends to not only building complex systems but thoroughly testing them to ensure they meet all acceptance criteria.
₹25,000 INR in 7 days
5.0
5.0

Hi, I can build the C/libpq PostgreSQL control layer with clean GCC-compatible source, public API headers, transaction-safe operations, per-user queues, dynamic GUC wrappers, and a minimal test harness. The best solution is to first review your target PostgreSQL version, allowed GUCs, concurrency expectations, queue behavior, and permission model. I’ll then implement the libpq-only controller with explicit BEGIN/COMMIT/ROLLBACK handling, idempotent schema creation, role changes, and NOTIFY/LISTEN or queue-table messaging. I’m comfortable with C, libpq, PostgreSQL internals, GUC handling, transactions, schema migrations, permissions, LISTEN/NOTIFY, queue tables, Linux builds, Makefiles, and warning-free code under `-Wall -Werror`. Deliverables will include: * Clean C source code * Public API header * libpq-only implementation * GUC setter/getter wrappers * Per-user message queue logic * Schema migration transaction demo * Permission grant/revoke support * Minimal test harness * README with build and usage steps One note: some PostgreSQL settings such as `shared_buffers` are not truly per-connection runtime parameters, so I’ll implement supported dynamic controls and clearly document any PostgreSQL-level limits. I’ll focus on safe, tight, well-commented C code that is transaction-aware, concurrent-session friendly, and easy to extend. Best regards Ankit
₹12,500 INR in 2 days
3.9
3.9

Dear Client, I read "C libpq Postgres Dynamic Resource Configuration" carefully and understand you want a messaging platform with fast, reliable real-time chat. My hands-on experience with C Programming, PostgreSQL, API Development aligns directly with what you need. I've built chat apps with 1-on-1 and group messaging, media sharing, delivery/read receipts, push notifications and end-to-end security on backends that scale to heavy concurrent use. A few quick questions to get us started: 1. Do you need 1-on-1 chat only, or groups, channels and calls too? 2. Should it run on mobile, web, or both? 3. What user scale are you planning for at launch? Thanks & Regards, Deepak
₹22,500 INR in 14 days
3.4
3.4

Hi, I have strong experience with C programming, PostgreSQL internals, and database development. I can build the low-level control layer using libpq exclusively — implementing core-wise CPU pinning via SET commands for max_parallel_workers_per_gather and cpu_tuple_cost, RAM-wise resource allocation with dynamic work_mem/shared_buffers adjustment per connection, and user-wise messaging queues using NOTIFY/LISTEN with proper message ordering. All operations will be ACID-safe with explicit BEGIN/COMMIT blocks, idempotent, and concurrent-session safe. Code will compile cleanly under -Wall -Werror with GCC 11+. Let's discuss the test harness requirements.
₹25,000 INR in 7 days
3.5
3.5

i have good experience with c, sqlite and other embedded db system programming. can easily work on it. Lets have a talk.
₹37,500 INR in 1 day
2.9
2.9

Changing GUCs per connection can backfire if the same libpq connection is reused across threads. I'll create a thin wrapper that opens a dedicated connection for each core-affinity request, runs SET commands inside a BEGIN/COMMIT block, and closes it safely. The header will expose initcontroller, setcoreaffinity, setramlimit, and createuser_queue as plain C calls. A common mistake is assuming SET changes affect only the current transaction, while they actually persist for the whole session. You can expect each API call to be idempotent, thread-safe, and to roll back cleanly if any command fails.
₹20,000 INR in 4 days
2.8
2.8

Pinning parallel workers to specific cores from the client side is an interesting constraint. You can't truly set CPU affinity through libpq alone since `sched_setaffinity` lives in the OS layer, but you can get close by dynamically tuning `max_parallel_workers_per_gather` and cost parameters per session so the planner behaves as if it's pinned. I'll make sure the API design is honest about that boundary. I'll build the C control layer with clean libpq-only wrappers for GUC manipulation, per-connection memory ceiling adjustments, and NOTIFY/LISTEN-based user queues with ordered, at-least-once delivery. Every mutation gets wrapped in explicit BEGIN/COMMIT with proper rollback on failure, and the queue table schema gets created on demand per user, idempotent so concurrent sessions don't collide. Best regards, Shayan
₹13,750 INR in 9 days
2.5
2.5

Having built a strong foundation in Software Development over the past 9+ years, I believe my experience aligns perfectly with your requirements. What truly sets me apart is my ability to bring innovative solutions to complex problems, especially those that require direct hardware interaction like in your project. I have deep knowledge and experience working with C language and am familiar with library like libpq which you require for this execution. In terms of scaling and resource handling, I'm well-versed with consecutive manipulation on CPU cores and memory ceilings. This bridges directly to your first two functional scopes of core-wise processing and RAM-wise allocation, where I can skillfully adjust parameters like `max_parallel_workers_per_gather` and `work_mem` respectively to optimize performance. Additionally, since your workload is transaction-heavy, my understanding of ACID compliance will ensure all modifications are properly wrapped-within explicit BEGIN/COMMIT blocks. Lastly, my ability to tackle demanding projects while maintaining a keen attention to detail will be vital for your per-user messaging queues. The use of NOTIFY/LISTEN or lightweight queue table implementation for message ordering and at-least-once delivery ensures transmissions endure the demands of background services and consumers without polling extensively. My profound knowledge of SQL will also prove handy in adeptly managing user permissions during runtime, doing
₹25,000 INR in 7 days
2.1
2.1

Hi! I understand your requirements and can develop a production-quality C library that interfaces exclusively with libpq to provide runtime PostgreSQL control without relying on external tools. The solution will expose a clean API for connection management, session-level parameter tuning, transactional schema changes, role management, and per-user messaging using LISTEN/NOTIFY or queue tables with reliable delivery. All database operations will use explicit BEGIN/COMMIT/ROLLBACK semantics to ensure ACID compliance and safe concurrent execution. I'll deliver well-structured GCC 11+ compatible source code, public headers, SQL bootstrap scripts, a comprehensive README, and a test harness demonstrating dynamic work_mem changes, ordered message queues, and transactional schema migrations with proper rollback behavior. The code will be modular, thread-safe where appropriate, warning-free under -Wall -Werror, and ready for integration into your existing system.
₹20,000 INR in 8 days
2.1
2.1

Hi, I can build a clean C control layer using libpq only, with transactional GUC management, per-user messaging queues, runtime role/schema updates, idempotent operations, and a warning-free GCC test harness. One important point: PostgreSQL worker CPU affinity and shared_buffers cannot be controlled per connection directly, so I’ll implement the closest safe session-level controls and document any required OS/server-side limits. Do you have superuser access to the PostgreSQL server and a preferred version to target? Regards,
₹40,000 INR in 8 days
2.0
2.0

Hello, I can develop a clean, libpq-only C control layer that provides real-time PostgreSQL management while maintaining ACID guarantees and thread-safe behavior. The solution will expose a well-structured API (`init_controller()`, `set_core_affinity()`, `set_ram_limit()`, `create_user_queue()`, etc.) and use explicit `BEGIN`/`COMMIT`/`ROLLBACK` transactions for all configuration changes, schema updates, and permission management. Session-level GUCs such as `work_mem`, `max_parallel_workers_per_gather`, and `cpu_tuple_cost` will be managed through libpq, while per-user messaging will be implemented using `LISTEN/NOTIFY` or an ordered queue table with at-least-once delivery. The code will be written in portable **C (GCC 11+)**, compile cleanly with `-Wall -Werror`, and depend solely on **libpq**. You'll receive documented source code, public headers, SQL helpers (if needed), a README, and a test harness demonstrating session-specific memory settings, ordered user messaging, and transactional schema migrations with rollback. I'm ready to discuss the architecture and begin development immediately. **Kind Regards,** **Naveen**
₹25,000 INR in 7 days
0.6
0.6

Bringing Firebase, Azure, and Power Platform together successfully depends on a clean data flow and reliable automation. For C libpq Postgres Dynamic Resource Configuration, I can connect the required services, map and synchronize records, build secure functions or workflows, and include validation, monitoring, retries, and useful error logs from the beginning. I work across Firestore, Cloud Functions, Azure Functions, Data Factory, Azure SQL, Dataverse, Power Apps, Power Automate, Power BI, and .NET integrations. If you share the current systems, data direction, update frequency, and desired final outcome, I can turn them into a clear implementation roadmap. See my work: https://www.freelancer.in/u/heenafullstacken Warm regards, Heena A Plus IT House
₹37,500 INR in 55 days
0.0
0.0

Hello There, Couple of quick questions: - Is the requirement to develop a C application using libpq with dynamic PostgreSQL resource management (connections, queries, prepared statements, memory handling), or are you troubleshooting an existing implementation that has performance or stability issues? - Should the solution support advanced features such as connection pooling, asynchronous queries, thread-safe resource management, automatic failover, and robust error recovery, or is the current scope limited to synchronous database operations? We have experience in developing high-performance C applications using PostgreSQL's libpq client library, implementing efficient connection management, dynamic resource allocation, prepared statements, asynchronous processing, and thread-safe database operations for production-grade systems. :contentReference[oaicite:0]{index=0} Our company has 17+ years experience in IT service development. You might see our profile is new, but not new in this business. Kindly open the chatroom, we can discuss your requirement in detail. Also release the payment once we are finish the task as you prefer. Give us a opportunity and we won't fail you. Thanks, Sandeep K.
₹12,500 INR in 7 days
0.2
0.2

A low-level control layer in C over libpq is exactly where most bidders overreach - the traps are connection lifecycle (PQstatus + reconnect on failure), doing everything through parameterised PQexecParams (never string-built SQL), and reading async/resource state without leaking PGresult. I'd build it clean: a thin, well-documented C module that opens/pools the libpq connection, exposes your dynamic resource-config operations as typed calls, checks every result status, and frees results deterministically - no leaks, no injection surface. Tell me the exact resource-config operations and your Postgres version, and I'll deliver one end-to-end first with a small test harness so you see the pattern before I build the rest. Rated 5.0 on delivered work here.
₹23,356 INR in 10 days
0.4
0.4

I will build a high-performance system control library in C (GCC 11+) linking solely against libpq to handle real-time PostgreSQL session orchestration. For core-wise parallelism, we expose set_core_affinity(PGconn *conn, int max_workers, double cpu_cost_multiplier) to adjust max_parallel_workers_per_gather and optimizer CPU/tuple cost GUC parameters on the fly, dynamically steering CPU core utilization per session. For RAM allocation, set_ram_limit(PGconn *conn, const char *work_mem_limit, int temp_file_kb) configures session-level work_mem and temp_file_limit parameters, ensuring memory isolation and sandboxing temporary file allocations per connection. For user-wise messaging queues, create_user_queue(PGconn *conn, const char *username) sets up user queue tables using BIGSERIAL indexing for strict message ordering. At-least-once delivery is guaranteed using SELECT FOR UPDATE SKIP LOCKED queries in transactions. Polling is eliminated by using LISTEN/NOTIFY events to trigger instant consumer wakeups. All GUC tweaks, permission modifications, and schema hot-patches are encapsulated in explicit BEGIN/COMMIT blocks using libpq. If any query returns a PGRES_FATAL_ERROR, the library catches it, executes an immediate ROLLBACK, and propagates the error cleanly. Deliverables include clean C files compiling under -Wall -Werror, public headers, SQL helpers, and a complete test harness demonstrating isolated GUC allocations, ordered queue processing, and rollback capabilities.
₹13,900 INR in 5 days
0.0
0.0

I fully understand your requirements and can develop a robust C library using libpq to manage PostgreSQL sessions, runtime configuration, transactions, and user messaging without relying on external administration tools. I have experience building high-performance backend systems, database integrations, and low-level software with a focus on reliability and maintainability. Please visit my profile to review my portfolio and similar projects. .................. What I Will Deliver .................. • C library using libpq only (GCC 11+ compatible) • Public API for session, resource, and queue management • Runtime GUC parameter setter/getter functions • Per-user messaging queues with ordered delivery • ACID-safe transaction handling with rollback support • SQL helper scripts, test harness, and complete documentation .................. Tech Stack .................. • C (GCC 11+) • PostgreSQL & libpq • Linux • Git • Make/CMake I offer introductory rates and guarantee clean, modular, and production-ready code with thorough documentation. Please visit my profile to see my portfolio and previous backend/database projects. Regards
₹13,000 INR in 4 days
0.0
0.0

I can develop a robust C (GCC 11+) control library that communicates exclusively through libpq, providing a clean API for dynamic PostgreSQL administration at runtime. ✔ Session-level parameter management ("work_mem", "max_parallel_workers_per_gather", "cpu_tuple_cost", etc.) with getter/setter wrappers ✔ Transaction-safe schema migrations, role management, and permission changes using explicit "BEGIN"/"COMMIT"/"ROLLBACK" ✔ Per-user messaging queues using "LISTEN/NOTIFY" or queue tables with ordered, at-least-once delivery semantics ✔ Clean, modular API ("init_controller()", "set_core_affinity()", "set_ram_limit()", "create_user_queue()", and more) ✔ Well-documented source, header files, SQL helpers, README, and a complete test harness demonstrating connection-specific settings, queue messaging, and rollback on migration failures The implementation will be thread-safe, idempotent, concurrency-aware, compile cleanly under "-Wall -Werror", and link only against libpq on Linux. I'd be happy to discuss the architecture and begin immediately.
₹25,000 INR in 7 days
0.0
0.0

Coimbatore, India
Member since Mar 4, 2026
₹1500-12500 INR
₹12500-37500 INR
₹1500-12500 INR
₹1500-12500 INR
₹1500-12500 INR
₹12500-37500 INR
₹12500-37500 INR
$1500-3000 AUD
₹600-1500 INR
$1500-3000 USD
₹100-400 INR / hour
$250-750 USD
$1500-3000 USD
$12-30 SGD
min $50 USD / hour
$250-750 USD
₹1500-12500 INR
€30-250 EUR
₹1500-12500 INR
₹1500-12500 INR
$250-750 USD
$15-25 USD / hour
₹750-1250 INR / hour
₹1500-12500 INR
₹20000-30000 INR